Index: pathcache.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathcache/pathcache.info,v
retrieving revision 1.1
diff -u -p -r1.1 pathcache.info
--- pathcache.info	3 Dec 2008 21:29:46 -0000	1.1
+++ pathcache.info	19 Apr 2009 21:12:15 -0000
@@ -2,5 +2,7 @@
 name = Path Cache
 description = Perform path caching for better URL alias performance.
 dependencies[] = path
+# patchdoq module is recommended for automated patching.
+#dependencies[] = patchdoq
 package = Caching
 core = 6.x
\ No newline at end of file
Index: pathcache.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathcache/pathcache.module,v
retrieving revision 1.1
diff -u -p -r1.1 pathcache.module
--- pathcache.module	3 Dec 2008 21:29:46 -0000	1.1
+++ pathcache.module	19 Apr 2009 21:12:15 -0000
@@ -14,4 +14,18 @@ function pathcache_flush_caches() {
     'cache_pathsrc',
     'cache_pathdst',
   );
-}
\ No newline at end of file
+}
+
+/**
+ * Implementation of hook_patch().
+ */
+function pathcache_patch() {
+  return array(
+    'pathcache' => array(
+      'name' => t('Path cache'),
+      'description' => t('Add caching to drupal_lookup_path() in path.inc.'),
+      'file' => drupal_get_path('module', 'pathcache') .'/path.inc.patch',
+      'patch arguments' => '-u -p0',
+    ),
+  );
+}
